﻿using System;

namespace ZoeEngine.Framework
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
    public class ComponentDependency : Attribute
    {
        private Type[] _dependencies;

        public ComponentDependency(params Type[] args)
        {
            _dependencies = args;
        }

        public Type[] Dependencies
        {
            get
            {
                return _dependencies;
            }
        }
    }
}
